package src.week11.ERFENFA;

import java.util.Scanner;

public class SearchTest {
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        int a[]={2,6,12,25,38,42,51,67,73,89,99};
        System.out.println("在此数列中你想查找的数是:");
        int b = scan.nextInt();
        Searching searching = new Searching();
        System.out.println("你想查找的数是:"+ b );
        System.out.println("你想找的数在列表的第" + searching.BoundarySearching(a,0,10,b) +"位");
    }
}